﻿using System.ComponentModel.DataAnnotations;

namespace Volo.Abp.Extension.Web.Pages.SettingManagement.EmailSetting
{
    public class EmailSettingDto
    {
        public string DefaultFromDisplayName { get; set; }

        public string DefaultFromAddress { get; set; }

        public string SmtpHost { get; set; }

        public string SmtpPort { get; set; }

        public string SmtpUserName { get; set; }

        [DataType(DataType.Password)]
        public string SmtpPassword { get; set; }

        public string SmtpDomain { get; set; }

        public bool SmtpEnableSsl { get; set; }

        public bool SmtpUseDefaultCredentials { get; set; }

    }
}
